package dialer.ws.base.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * ValorConfig entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "valor_config", schema = "call_center")
public class ValorConfig implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -1466217994848239166L;
	private String configKey;
	private String configValue;
	private String configBlob;

	// Constructors

	/** default constructor */
	public ValorConfig() {
	}

	/** minimal constructor */
	public ValorConfig(String configKey, String configValue) {
		this.configKey = configKey;
		this.configValue = configValue;
	}

	/** full constructor */
	public ValorConfig(String configKey, String configValue, String configBlob) {
		this.configKey = configKey;
		this.configValue = configValue;
		this.configBlob = configBlob;
	}

	// Property accessors
	@Id
	@Column(name = "config_key", unique = true, nullable = false, length = 32)
	public String getConfigKey() {
		return this.configKey;
	}

	public void setConfigKey(String configKey) {
		this.configKey = configKey;
	}

	@Column(name = "config_value", nullable = false, length = 128)
	public String getConfigValue() {
		return this.configValue;
	}

	public void setConfigValue(String configValue) {
		this.configValue = configValue;
	}

	@Column(name = "config_blob")
	public String getConfigBlob() {
		return this.configBlob;
	}

	public void setConfigBlob(String configBlob) {
		this.configBlob = configBlob;
	}

}